package com.qfedu.yige.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qfedu.yige.mapper.StatusMapper;
import com.qfedu.yige.pojo.Status;
import com.qfedu.yige.service.StatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StatusServiceimpl extends ServiceImpl<StatusMapper, Status> implements StatusService {

    @Autowired
    private StatusMapper statusMapper ;

    @Override
    public Status findByUid(Integer uid) {
        Status byUid = statusMapper.findByUid(uid);
        return byUid;
    }
}
